package com.crm.customers.model;

import org.apache.commons.lang.builder.ReflectionToStringBuilder;

import com.crm.base.model.BaseModel;

/** 
 *  crm_customer_contacts<br>
	Long cusid:客户ID<br>
	int ismain:是否为主要联系人（1 是   0 否）<br>
	String name:姓名<br>
	int sex:性别<br>
	String department:部门<br>
	String job:职务类别<br>
	String tel:联系电话<br>
	String phone:手机<br>
	String fax:传真<br>
	String remark:备注<br>
	String mail:邮箱<br>
	String qq:QQ<br>
	String webchart:微信号<br>
	int ordernumber:排序号<br>
*/
public class CustomerContacts  extends BaseModel {
	
	private static final long serialVersionUID = 7883673859062581671L;
	private Long cusid; //客户ID
	private int ismain; //是否为主要联系人（1 是   0 否）
	private String name; //姓名
	private int sex;  //性别
	private String department; //部门
	private String job;  //职务类别
	private String tel;  //联系电话
	private String phone; //手机
	private String fax;  //传真
	private String remark; //备注
	private String mail; //邮箱
	private String qq;  //QQ
	private String webchart;  //微信号
	private int ordernumber; //排序号
	private int isdel; //是否删除
	
	public int getIsmain() {
		return ismain;
	}
	public void setIsmain(int ismain) {
		this.ismain = ismain;
	}

	public Long getCusid() {
		return cusid;
	}

	public void setCusid(Long cusid) {
		this.cusid = cusid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getDepartment() {
		return department;
	}

	public void setDepartment(String department) {
		this.department = department;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public String getTel() {
		return tel;
	}

	public void setTel(String tel) {
		this.tel = tel;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getFax() {
		return fax;
	}

	public void setFax(String fax) {
		this.fax = fax;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getMail() {
		return mail;
	}

	public void setMail(String mail) {
		this.mail = mail;
	}

	public String getQq() {
		return qq;
	}

	public void setQq(String qq) {
		this.qq = qq;
	}

	public String getWebchart() {
		return webchart;
	}

	public void setWebchart(String webchart) {
		this.webchart = webchart;
	}

	public int getOrdernumber() {
		return ordernumber;
	}

	public void setOrdernumber(int ordernumber) {
		this.ordernumber = ordernumber;
	}

	@Override
	public String toString() {
		return ReflectionToStringBuilder.toString(this);
	}
	public int getIsdel() {
		return isdel;
	}
	public void setIsdel(int isdel) {
		this.isdel = isdel;
	}
}
